CC=arm-none-linux-gnueabi-gcc

all : mpu_light_function
	mv mpu_light_function ../../main_function/
	
mpu_light_function:mpu_light_function.o led_dev.o getAccley.o  
	$(CC)  mpu_light_function.o led_dev.o getAccley.o -o mpu_light_function
mpu_light_function.o:mpu_light_function.c
	$(CC) -g -c mpu_light_function.c -o mpu_light_function.o -I ../../include/
clean:
	rm *.o
